//
//  AppDelegate.m
//  ZhiHuDaily
//
//  Created by 吴宜昊 on 2022/2/4.
//

#import "AppDelegate.h"
#import "HomePageVC.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Override point for customization after application launch.
    
    [self initRootVC];
    
    return YES;
}

#pragma mark - initRootVC
-(void) initRootVC {
    HomePageVC * vc = [HomePageVC new];
    BaseNavigationController * navC = [[BaseNavigationController alloc] initWithRootViewController:vc];
    
    self.window = [[UIWindow alloc] initWithFrame:kScreenBounds];
    self.window.rootViewController = navC;
    [self.window makeKeyAndVisible];
}

@end
